<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>jQuery 整体架构</title>
</head>
<body>
  <script src="./1.js"></script>
  <script>
    var ret = {name: 'bbb', list: {age: '22'}}
    var res = {list: {sex: '女'}}
    var obj = $.extend(true, {}, ret, res)
    console.log(obj)
  </script>
</body>
</html>